package com.njtoyo.taxi.admin.mapper.secondary.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum SystemSensitiveOperationVerifyMethod {
    login_password(0, "密码验证"),
    sms_code(1, "短信验证码"),
    email_code(2, "邮件验证码");

    @EnumValue
    private final int code;
    private final String desc;

    SystemSensitiveOperationVerifyMethod(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
